package com.example.demo;

import android.app.Application;

import com.yilan.sdk.YLInit;

public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        YLInit.getInstance()
                .setApplication(this)
                .setAccessKey("yl4b7gqz89zp")//设置accesskey,这里是测试账号，请联系一览客服提供正式key
                .setAccessToken("mxjr67198csu64m4adf7knbl1v7tl4m4")//设置token
                .setSid("demo")//设置应用渠道
                .setUid("demo_usr")//设置登录用户唯一id
                .build();
    }
}
